/**
 * @Title: illegalQuery_service.js
 *@Description: TODO
 * Copyright: Copyright (c) 2015
 * Company:中国平安
 *
 * @Project HIMS-FWA
 * @author ex-xieqi001
 * @date 2015年2月3日 下午13:01:19
 * @version V1.0
 */
;
(function(){
    'use strict';

    var app = angular.module('fwa.services');
    app.service('IllegalQueryService',['$http','BaseURL', function($http, baseUrl){

        var debug = false;
        var serv = this;

        /**
         * 根据条件查询数据
         */
        serv.query = function(params){
            return $http({
                method: "get",
                url:baseUrl+'evaluationOrgIllegal/queryEvaluationOrgIllegal.do',
                params:params
            });
        };
        
        /**
         * 根据条件查询预警详细数据
         */
        serv.querWarn = function(params) {
        	return $http({
                method: "get",
                url:baseUrl + 'evaluationOrgIllegal/queryEvaluationOrgIllegalWarnDetails.do',
                params:params
            });
        }
        
        /**
         * 根据条件查询稽核详细数据
         */
        serv.queryAudit = function(params) {
        	return $http({
                method: "get",
                url:baseUrl + 'evaluationOrgIllegal/queryEvaluationOrgIllegalAuditDetails.do',
                params:params
            });
        }
       
    }]);

})();
